<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<tpl> $NCharset </tpl>" />
<link href="<tpl> $template_dir </tpl>/member/css/layout.css" rel="stylesheet" type="text/css" />

<!-- 
.STYLE1 {color: #FF6600}
.STYLE2 {color: #000000}
 -->
</style>
<tpl>include file ='../head.config.html'</tpl>
<script>
/* 验证表单 */$(function(){
	$("#form_complaint").validate({
		event: "keyup",
		errorClass: "error",
		rules: {
			evidence: {required:true}
			<tpl> if $type eq 2 </tpl>,
			pic: {required:true}
			<tpl> /if </tpl>
		},
		messages: {
			evidence: {required: "<tpl> $errComplaintEvidenceNotNull </tpl>"}	
			<tpl> if $type eq 2 </tpl>,
			pic: {required: "<tpl> $errComplaintPicNotNull </tpl>"}	
			<tpl> /if </tpl>		
		}
	});
});
</script>
</head>
<body><tpl>include file ='../header.html'</tpl>

<div id="container761">
  <div class="own_member_main">
<tpl>include file ='own_menu.html'</tpl>
  <div class="member_right">
<div class="new_main_left">
		<div class="new_main_left1">
	<h1 class="new_text"><tpl>$langCompComplaintsLaw</tpl></h1>
		 <i></i>
	</div>
	
		  <b></b>
	</div>
		  <div id="own_main_rightop">  <div id="BottomBox"><tpl> $langCompReflectCircs </tpl></div></div>
	<div id="own_main_rightop_line" style="margin-top:-3px;">
	  <b class="b4"></b>
	  <b class="b3"></b>
	  <b class="b2"></b>
	  <b class="b1"></b>
	  </div>
      <UL class="item_list_title">
        	<LI><A href="own_complaint.php"><tpl> $langCompComplaintsLaw </tpl></A> </LI>
			<LI class="selected"><A href="own_complaint.php?type=complaint&send_receive=receive&state=all"><tpl> $langCompComp </tpl></A> </LI>
			<LI><A href="own_complaint.php?type=report&send_receive=receive&state=all"><STRONG><tpl> $langCompLaw </tpl></STRONG></A> </LI>		
      </UL>
	  
      <div id="item_list_border">
			<div align="right" class="STYLE2" style="margin-top:10px; margin-bottom:10px">
				<tpl> if $step eq 'one' </tpl><strong>1.<tpl> $langCompSelectCompType </tpl></strong><tpl> else </tpl>1.<tpl> $langCompSelectCompType </tpl><tpl> /if </tpl>
				<tpl> if $step eq 'two' </tpl><strong>2.<tpl> $langCompMakeCompContent </tpl></strong><tpl> else </tpl>2.<tpl> $langCompMakeCompContent </tpl><tpl> /if </tpl>
				<tpl> if $step eq 'three' </tpl><strong>3.<tpl> $langCompCompComplete </tpl></strong><tpl> else </tpl>3.<tpl> $langCompCompComplete </tpl><tpl> /if </tpl>			</div>
			<div id="WarningBox" style="line-height:20px;">
			  <tpl> if $step eq 'one' </tpl>
              <ul >
				<li style=" background-image:none"><tpl> $langCompOneCompType </tpl></li>
                <li  style=" background-image:none"><tpl> $langCompTwoCompInfo </tpl></li>
              </ul>
			  <tpl> /if </tpl>
			  <tpl> if $step eq 'two' </tpl>
              <ul>
				<li  style=" background-image:none"><tpl> $langCompOneCompRealityInfo </tpl></li>
				<li  style=" background-image:none">2.<span style="color:#FF0000">*</span><tpl> $langCompMustMake </tpl></li>
              </ul>
			  <tpl> /if </tpl>
            </div>
			
			<div id="TableListBox">
              <tpl> if $step eq 'one' </tpl>
			  <table width="600" height="62" border="1" cellpadding="0" cellspacing="0" bordercolor="#DDE0E3">
				<tr>
                  <td height="26" colspan="4" align="left"><span class="STYLE1">　<strong><tpl> $langCompSelectCompType </tpl></strong></span></td>
                </tr>
				<tpl> if $complaint_case eq 'sell' </tpl>
				<tr>
                  <td width="16%" height="26" align="center" widtd="33%"><a href="own_complaint.php?action=complaint_<tpl> $complaint_case </tpl>&step=two&type=1&spid=<tpl> $spid </tpl>"><tpl> $langComplaintNoShipment </tpl></a></td>
                  <td width="29%" align="center" widtd="33%"><a href="own_complaint.php?action=complaint_<tpl> $complaint_case </tpl>&step=two&type=2&spid=<tpl> $spid </tpl>"><tpl> $langComplaintDescriptionAsWeb </tpl></a></td>
                  <td width="33%" align="center" widtd="33%"><a href="own_complaint.php?action=complaint_<tpl> $complaint_case </tpl>&step=two&type=3&spid=<tpl> $spid </tpl>"><tpl> $langComplaintSellerNoUserAlipay </tpl></a></td>
                  <td width="22%" align="center" widtd="33%"><a href="own_complaint.php?action=complaint_<tpl> $complaint_case </tpl>&step=two&type=4&spid=<tpl> $spid </tpl>"><tpl> $langComplaintNoPay </tpl></a></td>
				</tr>
				<tpl> /if </tpl>
				<tpl> if $complaint_case eq 'buy' </tpl>
				<tr>
                  <td align="center" widtd="33%"><a href="own_complaint.php?action=complaint_<tpl> $complaint_case </tpl>&step=two&type=4&spid=<tpl> $spid </tpl>"><tpl> $langComplaintNoPay </tpl></a></td>
                  <td align="center" widtd="33%"></td>
                  <td colspan="2" align="center" widtd="33%"></td>
                </tr>
				<tpl> /if </tpl>
			  </table>
			  <tpl> /if </tpl>

			  <tpl> if $step eq 'two' </tpl>
			  <table border="0" cellpadding="0" cellspacing="0" width="100%">
				<tr>
                  <td align="left"><span class="STYLE1"><strong><tpl> $langCompSelectCompMotif </tpl></strong></span></td>
                </tr>
				<tr>
                  <td align="center">
				  	<form name="form_complaint" id="form_complaint" action="own_complaint.php?action=complaint_<tpl> $complaint_case </tpl>&step=three" method="post" enctype="multipart/form-data">
					<input type="hidden" name="type" value="<tpl> $type </tpl>" />
					<input type="hidden" name="spid" value="<tpl> $spid </tpl>" />
					<table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DEEBEF" >
						<tr>
						  <td width="27%" height="25" align="right" valign="middle" bgcolor="#F5F9FA"><tpl> $langCompByComplaints </tpl>：</td>
							<td height="25" align="left" valign="middle" bgcolor="#FCFEFE">
　<tpl> if $complaint_case eq 'buy' && $complaint_member.anonymous eq '1' </tpl>
								<tpl> $langCompAnonymityBuy </tpl>
							<tpl> else </tpl>
								<a href="<tpl> $site_url </tpl>/store/userinfo.php?userid=<tpl> $complaint_member.member_id </tpl>" target="_blank"><tpl> $complaint_member.login_name </tpl></a>
						  <tpl> /if </tpl>							</td>
						</tr>
						<tr>
						  <td height="25" align="right" valign="middle" bgcolor="#F5F9FA"><tpl> $langCompCorrelationBargaining </tpl>：</td>
							<td height="25" align="left" valign="middle" bgcolor="#FCFEFE">　<a href="<tpl> $site_url </tpl>/home/product.php?action=view&pid=<tpl> $sold_row.p_code </tpl>" target="_blank">
						  <tpl> $sold_row.p_name </tpl></a></td>
						</tr>
						<tr>
						  <td height="25" align="right" valign="middle" bgcolor="#F5F9FA"><tpl> $langCompCompType </tpl>：</td>
							<td height="25" align="left" valign="middle" bgcolor="#FCFEFE">　<strong><tpl> $complaint_report_type </tpl></strong><br/>　<tpl> $langCompTypeErr </tpl> <a href="<tpl> $site_url </tpl>/member/own_complaint.php?action=complaint_<tpl> $complaint_case </tpl>&step=one&spid=<tpl> $spid </tpl>" class="anniu"><span><tpl> $langCReturnUp </tpl></span></a><tpl> $langCompSelectOtherType </tpl></td>
						</tr>
						<tr>
							<td height="97" align="right" valign="middle" bgcolor="#F5F9FA"><span style="color:#FF0000">*</span>
						  <tpl> $langCompProof </tpl>：</td>
							<td height="97" align="left" valign="middle" bgcolor="#FCFEFE">　<textarea style="height:70px" id="evidence" name="evidence" id="evidence" rows="5" cols="40"></textarea><br />
　<tpl> $langCompCompReason </tpl>						      &nbsp;							</td>
					    </tr>
						<tpl> if $type eq 2 </tpl>
						<tr>
							<td height="93" align="right" valign="middle" bgcolor="#F5F9FA"><span style="color:#FF0000">*</span>
						  <tpl> $langCompUpdataImage </tpl>：</td>
						  <td height="93" align="left" valign="middle" bgcolor="#FCFEFE" style="padding-left:12px"><input name="pic" id="pic" type="file" /><br /><tpl> $langCompUpdataBarbarismImage </tpl></td>
					    </tr>
						<tpl> /if </tpl>
						<tr>
							<td height="34" colspan="2" align="center" bgcolor="#FFFFFF">
							  <input class="new_anniu" type="submit" name="Submit" value="<tpl> $langCsubmit </tpl>" />
					      <input class="new_anniu" type="reset" name="Submit2" value="<tpl> $langCAfreshFillIn </tpl>" /></td>
						</tr>
					</table>
					</form>
				  </td>
                </tr>
			  </table>
			  <tpl> /if </tpl>
            </div>
          
      </div>

  </div>
    <div style="clear:both"></div>
  </div>
  <tpl> include file ='../../../html/footer.html' </tpl></div>
  
</body>
</html>